package com.quartet.utils;

import org.springframework.context.i18n.LocaleContextHolder;

import java.util.Locale;

public class LocaleUtils {

    public static String getLocale(){
        Locale locale = LocaleContextHolder.getLocale();
        String language = locale.getLanguage();
        return language;
    }
}
